package com.zzh.partnersys.utils;

/**
 * @author zzh
 * @version 1.0
 */
public class EmailRightUtils {
    /**
     * 验证email格式是否正确
     * @param email 待验证的email
     * @return true 正确 false 错误
     */
    public static boolean isRightEmail(String email){
        if (!email.contains("@qq.com")){
            return false;
        }
        if (email.length() != 17){
            return false;
        }
        return true;
    }
}
